package com.dh.weibo.pojo.vo;

import com.dh.weibo.pojo.Comment;
import com.dh.weibo.pojo.WeiBo;

import java.util.List;

public class WeiBoVo {
    public WeiBo weiBo;// 微博对象
    public List<Comment> comments;// 微博对应评论集合的对象

    public WeiBoVo(WeiBo weiBo, List<Comment> comments) {
        this.weiBo = weiBo;
        this.comments = comments;
    }

    public WeiBo getWeiBo() {
        return weiBo;
    }

    public void setWeiBo(WeiBo weiBo) {
        this.weiBo = weiBo;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }
}
